<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">


    <title>推广员 详情</title>

    <meta name="keywords" content="台">
    <meta name="description" content="代技术">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="{$Think.const.RESOURCE}img/favicon.ico">
    <link href="{$Think.const.RESOURCE}css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="{$Think.const.RESOURCE}css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="{$Think.const.RESOURCE}css/animate.css" rel="stylesheet">
    <link href="{$Think.const.RESOURCE}css/style.css?v=4.1.0" rel="stylesheet">
    <style>
        :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: #b6b6b6; opacity:1;
        }

        ::-moz-placeholder { /* Mozilla Firefox 19+ */
            color: #b6b6b6;opacity:1;
        }

        input:-ms-input-placeholder{
            color: #b6b6b6;opacity:1;
        }

        input::-webkit-input-placeholder{
            color: #b6b6b6;opacity:1;
        }
    </style>
</head>

<body class="fixed-sidebar full-height-layout gray-bg">

<div class="row">
    <br><br>
    <h1 class="text-center"> ID 为<span class="text-danger"> {$_GET['id']} </span> 推广详情</h1>
    <div class="col-md-12">
        <!--<p class="text-center">共 {$count} 条数据</p>-->
        <div class="tab-content">
            <div id="tab-1" class="tab-pane active">
                <div class="full-height-scroll">
                    <div class="table-responsive">

                        <h3 class="text-danger">当前会员信息</h3>
                        <table class="table table-bordered table-striped table-hover ">
                            <thead>
                            <tr>
                                <!--<th ><span style="display: inline-block; min-width: 60px;"></span></th>-->
                                <th ><span style="display: inline-block; min-width: 60px;">ID</span></th>
                                <th ><span style="display: inline-block; min-width: 60px;">推广码 <span class="small">(下级)</span></span></th>
                                <th ><span style="display: inline-block; min-width: 60px;">邀请码<span class="small">(上级)</span></span></th>
                            </tr>
                            </thead>

                            <tbody>
                                <tr></tr>
                                <volist name="my" id="vo">
                                <tr>
                                    <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                        {$vo['accountid']}
                                    </td>
                                    <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                        {$vo['mypromocode']}
                                    </td>
                                    <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                        {$vo['invitecode']}
                                    </td>
                                </tr>
                                </volist >
                            </tbody>
                        </table>
                        <h3 class="text-success">上级</h3>
                        <table class="table table-bordered table-striped table-hover ">
                            <tbody>
                                <tr></tr>
                                <tr>
                                    <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                        {$invitecode}
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                       <h3 class="text-warning">一级 下线</h3>
                        <table class="table table-bordered table-striped table-hover ">
                            <thead>
                            <tr>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">ID</span></th>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">推广码 <span class="small">(下级)</span></span></th>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">邀请码<span class="small">(上级)</span></span></th>
                            </tr>
                            </thead>
                            <tbody>
                                <tr></tr>
                                <volist name="mypromocode1" id="vo">
                                    <tr>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$vo['accountid']}
                                        </td>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$vo['mypromocode']}
                                        </td>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$vo['invitecode']}
                                        </td>
                                    </tr>
                                </volist >
                            </tbody>
                        </table>

                        <h3 class="text-warning">二级 下线</h3>
                        <table class="table table-bordered table-striped table-hover ">
                            <thead>
                            <tr>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">ID</span></th>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">推广码 <span class="small">(下级)</span></span></th>
                                <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">邀请码<span class="small">(上级)</span></span></th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr></tr>
                            <volist name="mypromocode2" id="vo" empty="没有二级下线">
                                <foreach name="vo" item="value" key="k" >
                                    <tr>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$value['accountid']}
                                        </td>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$value['mypromocode']}
                                        </td>
                                        <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                            {$value['invitecode']}
                                        </td>
                                    </tr>
                                </foreach>
                            </volist >
                            </tbody>
                        </table>

                            <h3 class="text-warning">三级 下线</h3>
                            <table class="table table-bordered table-striped table-hover ">
                                <thead>
                                <tr>
                                    <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">ID</span></th>
                                    <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">推广码 <span class="small">(下级)</span></span></th>
                                    <th ><span style="display: inline-block; min-width: 60px;color: #b6b6b6;">邀请码<span class="small">(上级)</span></span></th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr></tr>
                                <volist name="mypromocode3" id="vo" empty="没有 3级下线">
                                    <foreach name="vo" item="value" key="k" >
                                        <tr>
                                            <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                                {$value['accountid']}
                                            </td>
                                            <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                                {$value['mypromocode']}
                                            </td>
                                            <td class="contact-type text-dark" style="border-left: 1px solid #DDDDDD;color: #2b2b2b;">
                                                {$value['invitecode']}
                                            </td>
                                        </tr>
                                    </foreach>

                                </volist >
                                </tbody>
                        </table>

                    </div>
                    <div class=" row text-center contact-type page_show">
                        <style>
                            .page_show{
                                width: 100%;
                                margin-top:30px;
                            }
                            .page_show a{
                                padding: 16px 22px;
                            }
                            .page_show a:hover{
                                background-color: #18a689;
                                border-radius: 30px;
                                color: #ffffff;
                            }
                            .page_show .current{
                                padding: 20px;
                            }
                        </style>
                        <!--//{$page_show}-->
                        <volist name="page_show" id="vo">
                            <a href="{:U('gamecard/detail')}?card_group={$con}&p={$vo}" class="num">{$vo}</a>
                        </volist>
                        当前页：<span class=" text-danger">{$p}</span>
                    </div>
                </div>
            </div>

        </div>

    </div>
</div>


<!-- 全局js -->
<script src="{$Think.const.RESOURCE}js/jquery.min.js?v=2.1.4"></script>
<script src="{$Think.const.RESOURCE}js/bootstrap.min.js?v=3.3.6"></script>
<!--<script src="{$Think.const.RESOURCE}js/plugins/metisMenu/jquery.metisMenu.js"></script>-->
<!--<script src="{$Think.const.RESOURCE}js/plugins/slimscroll/jquery.slimscroll.min.js"></script>-->
<!--<script src="{$Think.const.RESOURCE}js/plugins/layer/layer.min.js"></script>-->

<!--&lt;!&ndash; 自定义js &ndash;&gt;-->
<!--<script src="{$Think.const.RESOURCE}js/hplus.js?v=4.1.0"></script>-->
<!--<script type="text/javascript" src="{$Think.const.RESOURCE}js/contabs.js"></script>-->
<!--<script type="text/javascript" src="{$Think.const.RESOURCE}js/content.js"></script>-->

<!--&lt;!&ndash; 第三方插件 &ndash;&gt;-->
<!--<script src="{$Think.const.RESOURCE}js/plugins/pace/pace.min.js"></script>-->
<!--<script src="{$Think.const.RESOURCE}js/plugins/sweetalert/sweetalert.min.js"></script>-->

<script>
    $(document).keyup(function(event){
        if (event.keyCode === 27){
            //alert('event.keyCode'); //键码
            window.close();
        }
    });
</script>

</body>

</html>